@mixin ease-motion($className, $keyframeName) {
  @include make-motion($className, $keyframeName);
  .#{$className}-enter-active, .#{$className}-appear {
    animation-duration: $transition-time;
    animation-timing-function: linear;
    opacity: 0;
  }
  .#{$className}-leave-active {
    animation-duration: $transition-time;
    animation-timing-function: linear;
  }
}

@include ease-motion(ease, ivuEase);

@keyframes ivuEaseIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ivuEaseOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}
